html,
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
    font-size: 14px;
    font-family: PingFangSC, PingFang SC;
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
}

ul,
ol,
li {
    list-style: none;
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

fieldset,
img {
    border: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}
.table-wrap {
    .ant-table-column-sorters {
        justify-content: flex-start;
    }
    .ant-table-column-sorter {
        color: #000000;
        margin-left: 12px;
    }
    .ant-table-column-title {
        flex: none;
    }
    .ant-table.ant-table-middle .ant-table-title, .ant-table.ant-table-middle .ant-table-footer, .ant-table.ant-table-middle .ant-table-thead > tr > th, .ant-table.ant-table-middle .ant-table-tbody > tr > td, .ant-table.ant-table-middle tfoot > tr > th, .ant-table.ant-table-middle tfoot > tr > td {
        padding: 16px 24px;
    }
    .ant-table {
        color: rgba(0, 0, 0, 0.88);
    }
    .ant-table-selection-column {
        padding-right: 0;
    }
    .ant-table-pagination.ant-pagination {
        margin: 24px 0;
    }
    .ant-table-thead > tr > th {
        background: #FAFAFA;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06)!important;
        font-weight: bold;
        padding-left: 24px;
    }
    .ant-table-tbody > tr > td {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        padding-left: 24px;
    }
    .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell)::before {
        position: absolute;
        top: 50%;
        right: 0;
        width: 1px;
        height: 1.6em;
        background-color: rgba(0, 0, 0, 0.06);
        transform: translateY(-50%);
        transition: background-color 0.3s;
        content: '';
    }
}

.ant-select:not(.ant-select-customize-input) .ant-select-selector, 
.ant-input-affix-wrapper, .ant-input {
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.15);
}
.ant-select-selection-placeholder,
.ant-input::placeholder {
    color: rgba(0,0,0,0.25);
}
.ant-input-suffix {
    color: rgba(0,0,0,0.25);
    font-size: 16px;
}

.ant-btn {
    border-radius: 4px;
}

.ant-radio-group {
    .ant-radio-button-wrapper {
        background-color: transparent;
    }
    .ant-radio-button-wrapper:first-child {
        border-radius: 4px 0 0 4px;
    }
    .ant-radio-button-wrapper:last-child {
        border-radius: 0 4px 4px 0;
    }
}

.page-header {
    padding: 10px 0;
    .ant-page-header-heading-title {
        font-size: 18px;
        font-weight: 500;
    }
    .ant-page-header-back {
        margin-right: 6px;
    }
    .back-icon {
        color: rgba(0, 0, 0, 0.65);
        &:hover,
        &:focus {
            color: $primary-color;
        }
    }
}
.reject-modal {
    .ant-modal-close-icon {
        width: 16px;
        height: 16px;
    }
    .ant-modal-body {
        padding: 16px 24px;
    }
    .ant-modal-footer {
        padding: 16px 24px;
    }
    .ant-modal-mask {
        background: $box-shadow-base;
    }
    .ant-btn-primary {
        background: $error-color;
        border: none;
    }
    .ant-modal {
        top: calc((100vh - 363px) / 2);
    }
    .ant-btn {
        border-radius: $border-radius-base;
    }
    .ant-modal-title {
        font-weight: bold;
    }
    .ant-modal-content {
        border-radius: 4px;
    }
}

.popover-wrap .ant-popover-inner {
    border-radius: 4px;
    .ant-popover-title {
        line-height: 24px;
        padding: 16px 24px 0;
        font-size: 16px;
        border-bottom: none;
    }
    .ant-popover-inner-content {
        padding: 0 24px 24px;
    }
}
.disabled-href {
    color: rgba(0,0,0,0.25);
    cursor: not-allowed;
}